package com.example.myapplication.hilt

import com.orhanobut.logger.Logger
import javax.inject.Inject

/**
 * 类描述:
 * 创建人:   tangchao$
 * 创建时间: 2021/8/15$ 1:55 PM$
 * 联系方式: 419704299@qq.com
 * 修改人:   tangchao$
 * 修改时间: 2021/8/15$ 1:55 PM$
 * 修改备注:  [说明本次修改内容]
 */
class Truck @Inject constructor(var driver: Driver) {
    @Inject
    lateinit var engine: Engine

    fun get1() {
        Logger.d("Truck===get1: driver=" + driver);
        Logger.d("Truck===get1: engine=" + engine.shutdown());

    }

}